import pyglet
import sys

from framework import *
from modeview import STFViewMode

if(len(sys.argv) > 2):
	print "Usage: ", sys.argv[0], " [optional starting directory/image]"
	raise SystemExit()

main.mode.append(STFViewMode())
pyglet.app.run()
